import request from '@/utils/request'

// 查询选人用人各票数量列表
export function listKhscorestatic2(query) {
  return request({
    url: '/kh/khscorestatic2/list',
    method: 'get',
    params: query
  })
}

// 查询选人用人各票数量详细
export function getKhscorestatic2(id) {
  return request({
    url: '/kh/khscorestatic2/' + id,
    method: 'get'
  })
}

// 新增选人用人各票数量
export function addKhscorestatic2(data) {
  return request({
    url: '/kh/khscorestatic2',
    method: 'post',
    data: data
  })
}

// 修改选人用人各票数量
export function updateKhscorestatic2(data) {
  return request({
    url: '/kh/khscorestatic2',
    method: 'put',
    data: data
  })
}

// 删除选人用人各票数量
export function delKhscorestatic2(id) {
  return request({
    url: '/kh/khscorestatic2/' + id,
    method: 'delete'
  })
}

// 导出选人用人各票数量
export function exportKhscorestatic2(query) {
  return request({
    url: '/kh/khscorestatic2/export',
    method: 'get',
    params: query
  })
}